package com.dooioo.pns.business.service.v2;

import com.dooioo.pns.base.service.BaseService;
import com.dooioo.pns.entity.model.v2.BusinessList;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * PackageName:com.dooioo.pns.api.v2.service
 * Author: Jerry.hu
 * Create: Jerry.hu (2015-07-20 下午6:58)
 * Description:
 * To change this template use File | Settings | File Templates.
 */
@Service
public class BusinessServiceV2 extends BaseService<BusinessList> {

	public List<BusinessList> getBusinessList(int userCode ,int appId){
		Map<String,Object> map = new HashMap<>();
		map.put("userCode",userCode);
		map.put("appId",appId);
		return super.selectList("getBusinessList",map);
	}
}
